﻿using System.Configuration;

namespace Common.Core
{
	public static class Configuration
	{
		public static int EntityCacheLength
		{
			get { return int.Parse(ConfigurationManager.AppSettings["EntityCacheLength"]); }
		}

		public static int SessionCacheLength
		{
			get { return int.Parse(ConfigurationManager.AppSettings["SessionCacheLength"]); }
		}

		public static int ReceivedDocumentsPoolLength
		{
			get { return int.Parse(ConfigurationManager.AppSettings["ReceivedDocumentsPoolLength"]); }
		}

		public static int ProcessingHeartBeat
		{
			get { return int.Parse(ConfigurationManager.AppSettings["ProcessingHeartBeat"]); }
		}
	}
}
